export default function(url) {
    /*下载*/
    return new Promise((resolve, reject) => {
        uni.downloadFile({
            url,
            success: function (res) {
                resolve(res);
            },
            fail(res){
                reject(res)
            }
        })
    })
}
